﻿
@foreach (var gamer in Model.gameRoomsInNeedOfPlayers)
{ 
    if (Request.IsAuthenticated)
    {
        <li style="" class="gamer.game.name">
            <img src="@gamer.game.icon"/>@gamer.game.name : @gamer.gameRoomName<a class="playButton" href="/gameroom/join/gamer.gameRoomID" title="Smelltu hér til að taka þátt í þessum leik"><img src="/Images/playbutton.png" style="border:0; vertical-align:middle; margin-right:0px;"/></a>
        </li>
    }
    else
    {    
        <li style="" class="gamer.game.name">
            <img src="@gamer.game.icon"/>@gamer.game.name : @gamer.gameRoomName
        </li>
    }
}